from django.shortcuts import render
import wejudge.kernel.moss as Moss


def index(request):
    viewer = Moss.MossProvider(request)
    viewer.index()
    return viewer.render()


def add_queue(request):
    viewer = Moss.MossProvider(request)
    viewer.add_queue()
    return viewer.render()
